package com.ruoyi.by.health.mapper;


import com.ruoyi.by.health.domain.entity.ByhealthEmpVoteLog;
import com.ruoyi.by.health.domain.vo.ByhealthEmpVoteLogVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ByhealthEmpVoteLogMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ByhealthEmpVoteLog record);

    int insertSelective(ByhealthEmpVoteLog record);

    ByhealthEmpVoteLog selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ByhealthEmpVoteLog record);

    int updateByPrimaryKey(ByhealthEmpVoteLog record);

    List<ByhealthEmpVoteLog> getEmpVoteLogListByEmpId(@Param("empId") Long empId);
    List<ByhealthEmpVoteLogVo> getEmpVoteLogList(ByhealthEmpVoteLogVo record);

    Integer  getBossCount();
    Integer  getEmpCount();
    Integer  getBossVoteByPlaybillId(@Param("billId") Long billId);
    Integer  getEmpVoteByPlaybillId(@Param("billId") Long billId);

}